package This;

public class Student {
    public void printthis()
    {
        System.out.println(this);
    }
    double score;
    public void socrepass(double score)
    {
        if(this.score > score)
        {
            System.out.println("恭喜通过考试");
        }
        else
        {
            System.out.println("很遗憾没有通过考试");
        }
    }

}
